﻿#region Header
//
//   Project:           SilverShader - Silverlight pixel shader demo application for Coding4Fun.
//
//   Changed by:        $Author$
//   Changed on:        $Date$
//   Changed in:        $Revision$
//   Project:           $URL$
//   Id:                $Id$
//
//
//   Copyright (c) 2010 Rene Schulte
//
//   This program is open source software. Please read the License.txt.
//
#endregion

using System.ComponentModel.Composition;
using SilverShader.ViewModels;

namespace SilverShader.Views
{
   /// <summary>
   /// The parameter page for scratched shader.
   /// </summary>
   [Export]
   public partial class ScratchedShaderPage
   {
      [Import]
      public ScratchedShaderViewModel ViewModel;

      public ScratchedShaderPage()
      {
         InitializeComponent();
      }

      private void UserControl_Loaded(object sender, System.Windows.RoutedEventArgs e)
      {
         // Set the context for the View - ViewModel data binding
         this.DataContext = ViewModel;
      }
   }
}